<template>
	<view>
		<div class="header">
			<div class="back center" @click="back">
				<image src="../../../../static/icon/back.png" mode="" class="w-20 h-35"></image>
			</div>
			<span class="mt-10">{{title}}</span>
		</div>
	</view>
</template>

<script>
	export default {
		props: ["title"],
		data() {
			return {
				
			}
		},
		methods: {
			back() {
				uni.navigateBack()
				// this.cback()
			},
		}
	}
</script>

<style>
	.header {
		font-size: 34rpx;
		/* height: 100rpx; */
		/* line-height: 100rpx; */
		font-weight: 500;
		font-weight: bold;
		text-align: center;
		position: relative;
		padding-top: var(--status-bar-height);
		padding-bottom: 20rpx;
	}
	.back {
		position: absolute;
		width: 70rpx;
		height: 70rpx;
		top: var(--status-bar-height);
	}
</style>
